//
//  BasicTableViewController.h
//  CHVolunteer
//
//  Created by 李晓俊 on 2018/12/20.
//  Copyright © 2018 李晓俊. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BasicTableViewController : UITableViewController

@property(nonatomic,assign) NSInteger page;
 ///没有数据的界面
@property(nonatomic ,strong) UIView *noMsgView;
///没有数据的界面
@property(nonatomic ,strong) UIView *noMsgView2;

//初始化ui
-(void)initUI;
//接口调用
-(void)loadData;
//一键创table
-(void)setupTableView:(UITableViewStyle)style header:(BOOL)header footer:(BOOL)footer;
/**
 创建缺省页面view
 @param msgName 图片名称
 @param alertMsg 提示文字
 */
-(void)createViewBynoMsgName:(NSString *)msgName alertMsg:(NSString *)alertMsg;
-(void)createHomeViewBynoMsgName:(NSString *)msgName alertMsg:(NSString *)alertMsg;


/**
 创建缺省页面view2
 
 @param msgName 图片名称
 @param alertMsg 提示文字
 @param alertMsg2 提示文字2
 */
- (void)createViewBynoMsgName2:(NSString *)msgName alertMsg:(NSString *)alertMsg alertMsg2:(NSString *)alertMsg2;
- (void)createHomeViewBynoMsgName3:(NSString *)msgName alertMsg:(NSString *)alertMsg;
- (void)createHomeViewBynoMsgName:(NSString *)msgName alertMsg:(NSString *)alertMsg withSize:(CGSize)size;
 @property (strong, nonatomic) UIWindow *window;
- (void)CreateNav;

- (void)logouTotLogin ;

@end

NS_ASSUME_NONNULL_END
